package com.jy.modules.cims.data.dao;

import java.util.List;
import java.util.Map;

import com.jy.modules.cims.data.dto.CfgDealCodeDto;
import com.jy.modules.cims.data.dto.DealInterfaceDto;
import com.jy.platform.core.mybatis.MyBatisRepository;

/**
 * 系统辅助dao
 */
@MyBatisRepository
public interface SysAssistDao {
	/** 阻塞流水配置表操作 */
	public List<CfgDealCodeDto> searchCfgDealCodeForUpdate(Map<String, Object> searchParams);

	/** 阻塞交易相关接口协助表操作 */
	public List<DealInterfaceDto> searchDealInterfaceForUpdate(Map<String, Object> searchParams);

	/** 根据交易流水号获得接口流水号 */
	public List<DealInterfaceDto> getInterfaceCodeByDealCode(Map<String, Object> searchParams);

	/** 删除 T_C_MM_INTERACT_CLASS_INVOKE */
	public void deleteHistoryInteractClassInvoke(Map<String, Object> searchParams);

	/** 删除 T_C_MM_INTERACT_CLASS_PARAMTER */
	public void deleteHistoryInteractClassParamter(Map<String, Object> searchParams);

	/** 删除 T_C_MM_DUEEXECUTETASKCFG */
	public void deleteHistoryDueExecuteTaskCfg(Map<String, Object> searchParams);

	/** 删除 T_C_MM_QUOTA */
	public void deleteHistoryQuota(Map<String, Object> searchParams);

	/** 删除 T_C_MM_DEAL_INTERFACE */
	public void deleteHistoryDealInterface(Map<String, Object> searchParams);

	/** 删除接口超时记录 */
	public void deleteDealInterface(Map<String, Object> searchParams);

	/**
	 * 
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> querySql(Map<String, Object> params);

	/**
	 * 
	 * @param params
	 */
	public void executeSql(Map<String, Object> params);

	/**
	 * 
	 * @param params
	 */
	public void insertTable(Map<String, Object> params);
}